﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Graphix.Helpers;
using SvgNet.SvgGdi;

namespace Graphix.Elements
{
    using System.Drawing.Drawing2D;

    public class Bar : IElement
    {
        #region Implementation of IElement

        private Brush _color;

        private PointF _position;

        private Horizontal _alignment;

        private Vertical _verticalAlignment;

        private Orientation _orientation;

        private Matrix transformation;

        public void Draw(IGraphics graphics)
        {
            throw new NotImplementedException();
        }

        public void Move(float x, float y)
        {
            throw new NotImplementedException();
        }

        public Brush Color
        {
            get { return _color; }
            set { _color = value; }
        }

        public PointF Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public Horizontal Alignment
        {
            get { return _alignment; }
            set { _alignment = value; }
        }

        public Vertical VerticalAlignment
        {
            get { return _verticalAlignment; }
            set { _verticalAlignment = value; }
        }

        public Orientation Orientation
        {
            get { return _orientation; }
            set { _orientation = value; }
        }

        public Matrix Transformation
        {
            get
            {
                return this.transformation;
            }
            set
            {
                this.transformation = value;
            }
        }

        #endregion

        private PerformMove _moveWhen;
        public PerformMove MoveWhen
        {
            get { return _moveWhen; }
            set { _moveWhen = value; }
        }
    }
}
